package com.xdemo.model;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.xdemo.query.QueryDefinitions;


@Entity
@Table(name="t_virtual_user")
@NamedQueries(
	{
		@NamedQuery(name = QueryDefinitions.NAME_findVirtualUserByName, query = QueryDefinitions.SQL_findVirtualUserByName)
		
	}
)
public class VirtualUser extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 3346273880160527415L;

	@Id
	private String userId;

	@Column
	private String name;

	@Column
	private String email;

	@Column
	private String password;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
